<template>
  <el-select placeholder="栏目">
    <el-option value="" v-if="empty"></el-option>
    <el-option :value="item.t_nav_pk" :key="item.t_nav_pk" :label="item.nav_name" v-for="item in store.state.catOptions"></el-option>
  </el-select>
</template>

<script lang="ts" setup>
    import {defineProps,reactive} from "vue";
    import {useStore} from "vuex";

    const props = defineProps({
        // 是否需要空选项
        empty: {
            type: Boolean,
            default: false
        }
    });

    const store = useStore();


</script>

<style scoped>
</style>